package mediatheque.model;

public abstract class PersonneModel extends AbstractModel{

	private static final long serialVersionUID = 248387995669288586L;
	protected String identifiant;
	protected String nom;
	protected String prenom;
	protected String email;
	protected String adresse;
		
	public PersonneModel() {
		this("N/A", "N/A", "N/A", "N/A");
	}
	
	public PersonneModel(String nom, String prenom, String email, String adresse){
		this.nom = nom;
		this.prenom = prenom;
		this.email = email;
		this.adresse = adresse;
	}
	
	public String getIdentifiant() {
		return identifiant;
	}
	
	public String getAdresse() {
		return adresse;
	}
	
	public String getEmail() {
		return email;
	}
	
	public String getNom() {
		return nom;
	}
	
	public String getPrenom() {
		return prenom;
	}
	
	public void setAdresse(String adresse) {
		this.adresse = adresse;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public void setNom(String nom) {
		this.nom = nom;
	}
	
	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}
	
	protected void setIdentifiant(String identifiant) {
		this.identifiant = identifiant;
	}
	
}
